namespace FileTransfer.Client.Upload;

public record ProgressInfo(
    long TotalBytesWritten,
    long TotalContentLength,
    long ChunkCount,
    int CurrentChunkIndex,
    long CurrentChunkBytesWritten,
    long CurrentChunkContentLength
)
{
    public int ProgressPercentage => (int)(TotalBytesWritten * 100 / TotalContentLength);
}
